home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / estenw_1 / ingame.frm < prev    next >
Text File  |  1998-04-25  |  22KB  |  793 lines

  1. VERSION 5.00
  2. Begin VB.Form InGame 
  3.    BorderStyle     =   0  'None
  4.    Caption         =   "Estenwood - In Game"
  5.    ClientHeight    =   9000
  6.    ClientLeft      =   -165
  7.    ClientTop       =   -165
  8.    ClientWidth     =   12000
  9.    LinkTopic       =   "Form4"
  10.    LockControls    =   -1  'True
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    PaletteMode     =   1  'UseZOrder
  14.    Picture         =   "InGame.frx":0000
  15.    ScaleHeight     =   9000
  16.    ScaleWidth      =   12000
  17.    ShowInTaskbar   =   0   'False
  18.    StartUpPosition =   2  'CenterScreen
  19.    WindowState     =   2  'Maximized
  20.    Begin VB.Frame Frame1 
  21.       Height          =   840
  22.       Left            =   3870
  23.       TabIndex        =   6
  24.       Top             =   270
  25.       Visible         =   0   'False
  26.       Width           =   1320
  27.       Begin VB.OptionButton Option2 
  28.          Caption         =   "OFF"
  29.          Height          =   255
  30.          Left            =   120
  31.          TabIndex        =   8
  32.          Top             =   510
  33.          Width           =   1020
  34.       End
  35.       Begin VB.OptionButton Option1 
  36.          Caption         =   "ON"
  37.          Height          =   225
  38.          Left            =   135
  39.          TabIndex        =   7
  40.          Top             =   165
  41.          Value           =   -1  'True
  42.          Width           =   1125
  43.       End
  44.    End
  45.    Begin VB.Timer Timer1 
  46.       Interval        =   11000
  47.       Left            =   525
  48.       Top             =   4125
  49.    End
  50.    Begin VB.CommandButton Command5 
  51.       Caption         =   "E&xit to main"
  52.       Height          =   255
  53.       Left            =   5205
  54.       TabIndex        =   5
  55.       Top             =   0
  56.       Visible         =   0   'False
  57.       Width           =   1335
  58.    End
  59.    Begin VB.CommandButton Command4 
  60.       Caption         =   "Sou&nds >"
  61.       Height          =   255
  62.       Left            =   3870
  63.       TabIndex        =   4
  64.       Top             =   0
  65.       Visible         =   0   'False
  66.       Width           =   1335
  67.    End
  68.    Begin VB.CommandButton Command3 
  69.       Caption         =   "&Restore game"
  70.       Enabled         =   0   'False
  71.       Height          =   255
  72.       Left            =   2535
  73.       TabIndex        =   3
  74.       Top             =   0
  75.       Visible         =   0   'False
  76.       Width           =   1335
  77.    End
  78.    Begin VB.CommandButton Command2 
  79.       Caption         =   "&Save game"
  80.       Height          =   255
  81.       Left            =   1200
  82.       TabIndex        =   2
  83.       Top             =   0
  84.       Visible         =   0   'False
  85.       Width           =   1335
  86.    End
  87.    Begin VB.CommandButton Command1 
  88.       Caption         =   "&New game"
  89.       Enabled         =   0   'False
  90.       Height          =   255
  91.       Left            =   -15
  92.       TabIndex        =   1
  93.       Top             =   0
  94.       Visible         =   0   'False
  95.       Width           =   1215
  96.    End
  97.    Begin VB.ListBox List1 
  98.       BackColor       =   &H00FFFFFF&
  99.       BeginProperty Font 
  100.          Name            =   "System"
  101.          Size            =   9.75
  102.          Charset         =   238
  103.          Weight          =   700
  104.          Underline       =   0   'False
  105.          Italic          =   0   'False
  106.          Strikethrough   =   0   'False
  107.       EndProperty
  108.       ForeColor       =   &H00008000&
  109.       Height          =   1740
  110.       Left            =   720
  111.       TabIndex        =   0
  112.       Top             =   6360
  113.       Width           =   6975
  114.    End
  115.    Begin VB.Image View 
  116.       Height          =   2310
  117.       Left            =   1305
  118.       Stretch         =   -1  'True
  119.       Top             =   1080
  120.       Width           =   5910
  121.    End
  122.    Begin VB.Image RedPoint 
  123.       Height          =   330
  124.       Left            =   270
  125.       Picture         =   "InGame.frx":75742
  126.       Top             =   150
  127.       Width           =   345
  128.    End
  129.    Begin VB.Image RelianStats 
  130.       Height          =   4575
  131.       Left            =   8160
  132.       Top             =   3600
  133.       Width           =   3015
  134.    End
  135.    Begin VB.Image RelianFace 
  136.       Height          =   2415
  137.       Left            =   8160
  138.       Top             =   1080
  139.       Width           =   3015
  140.    End
  141.    Begin VB.Shape Shape2 
  142.       Height          =   7335
  143.       Left            =   8040
  144.       Top             =   960
  145.       Width           =   3255
  146.    End
  147.    Begin VB.Shape Shape1 
  148.       Height          =   2055
  149.       Left            =   600
  150.       Top             =   6240
  151.       Width           =   7215
  152.    End
  153.    Begin VB.Line Line8 
  154.       BorderColor     =   &H00808080&
  155.       X1              =   2880
  156.       X2              =   2880
  157.       Y1              =   5160
  158.       Y2              =   4080
  159.    End
  160.    Begin VB.Line Line7 
  161.       BorderColor     =   &H00808080&
  162.       X1              =   5640
  163.       X2              =   5640
  164.       Y1              =   5160
  165.       Y2              =   4080
  166.    End
  167.    Begin VB.Line Line6 
  168.       BorderColor     =   &H00808080&
  169.       X1              =   2880
  170.       X2              =   5640
  171.       Y1              =   4080
  172.       Y2              =   4080
  173.    End
  174.    Begin VB.Line Line5 
  175.       BorderColor     =   &H00808080&
  176.       X1              =   2880
  177.       X2              =   5640
  178.       Y1              =   5160
  179.       Y2              =   5160
  180.    End
  181.    Begin VB.Line Line4 
  182.       BorderColor     =   &H00808080&
  183.       X1              =   7305
  184.       X2              =   1185
  185.       Y1              =   975
  186.       Y2              =   975
  187.    End
  188.    Begin VB.Line Line3 
  189.       BorderColor     =   &H00808080&
  190.       X1              =   1200
  191.       X2              =   1200
  192.       Y1              =   3480
  193.       Y2              =   960
  194.    End
  195.    Begin VB.Line Line2 
  196.       BorderColor     =   &H00808080&
  197.       X1              =   7320
  198.       X2              =   7320
  199.       Y1              =   3480
  200.       Y2              =   960
  201.    End
  202.    Begin VB.Line Line1 
  203.       BorderColor     =   &H00808080&
  204.       X1              =   1200
  205.       X2              =   7320
  206.       Y1              =   3480
  207.       Y2              =   3480
  208.    End
  209.    Begin VB.Image ArrowRight 
  210.       Height          =   450
  211.       Left            =   5040
  212.       Picture         =   "InGame.frx":75D94
  213.       Top             =   4560
  214.       Width           =   420
  215.    End
  216.    Begin VB.Image ArrowLeft 
  217.       Height          =   450
  218.       Left            =   3000
  219.       Picture         =   "InGame.frx":7651E
  220.       Top             =   4560
  221.       Width           =   420
  222.    End
  223.    Begin VB.Image ArrowUp 
  224.       Height          =   420
  225.       Left            =   3960
  226.       Picture         =   "InGame.frx":76CA8
  227.       Stretch         =   -1  'True
  228.       Top             =   4200
  229.       Width           =   450
  230.    End
  231.    Begin VB.Image KompasWest 
  232.       Height          =   435
  233.       Left            =   3480
  234.       Picture         =   "InGame.frx":7746A
  235.       Top             =   4680
  236.       Visible         =   0   'False
  237.       Width           =   1500
  238.    End
  239.    Begin VB.Image KompasSouth 
  240.       Height          =   435
  241.       Left            =   3480
  242.       Picture         =   "InGame.frx":77B12
  243.       Top             =   4680
  244.       Visible         =   0   'False
  245.       Width           =   1500
  246.    End
  247.    Begin VB.Image KompasNorth 
  248.       Height          =   435
  249.       Left            =   3480
  250.       Picture         =   "InGame.frx":78146
  251.       Top             =   4680
  252.       Width           =   1500
  253.    End
  254.    Begin VB.Image KompasEast 
  255.       Height          =   435
  256.       Left            =   3480
  257.       Picture         =   "InGame.frx":787BA
  258.       Top             =   4680
  259.       Visible         =   0   'False
  260.       Width           =   1500
  261.    End
  262. End
  263. Attribute VB_Name = "InGame"
  264. Attribute VB_GlobalNameSpace = False
  265. Attribute VB_Creatable = False
  266. Attribute VB_PredeclaredId = True
  267. Attribute VB_Exposed = False
  268. Dim X, Y, i As Integer
  269. Dim ConstPth As String 'Assigned in Form.Load
  270. Const SaveFileName As String = "Save.est" 'Name of the save file
  271. 'InGame 3D pictures
  272.     Co